package router

import (
	"fx_swift_ifcgate_agent/internal/controller"
	"fx_swift_ifcgate_agent/pkg/middleware"
)

func TransferRouter() {
	apiVer := miniApiVer.Group("transfer", middleware.CheckAuth())
	{
		apiVer.POST("tradeReceiptList", controller.TradeReceiptList)
		apiVer.POST("internationTransferList", controller.InternationTransferList)
		apiVer.POST("domesticTransferList", controller.DomesticTransferList)
		apiVer.POST("exportDomesticTransfer", controller.ExportDomesticTransfer)
		apiVer.POST("exportInternationTransfer", controller.ExportInternationTransfer)
		apiVer.POST("exportTradeReceipt", controller.ExportTradeReceipt)

		apiVer.GET("domesticTransferDetail", controller.DomesticTransferDetail)
		apiVer.GET("tradeReceiptOrderDetail", controller.TradeReceiptOrderDetail)
	}
}
